package com.longrise.common.router;

import com.alibaba.android.arouter.launcher.ARouter;

/**
 * Created by callxkj on 2017/12/27.
 * 路由跳转类
 */

public class RouterHelper {

    /**
     * 跳转到客户管理
     */
   public static void toClientManageActivity2(String userid,String cardno,
                                              String mobilephone,String username){
       ARouter.getInstance().build(RouterPage.ClientManageActivity2)
               .withString("userid",userid)
               .withString("cardno",cardno)
               .withString("mobilephone",mobilephone)
               .withString("username",username)
               .navigation();
   }

    /**
     * 跳转到保易智评
     */
   public static void toBYZPActivity(String userid,String cardno,
                                     String mobilephone,String username){
       ARouter.getInstance().build(RouterPage.BYZPActivity)
               .withString("userid",userid)
               .withString("cardno",cardno)
               .withString("mobilephone",mobilephone)
               .withString("username",username)
               .navigation();
   }
}
